using Utility.GameEvents.Core;

namespace Utility.GameEvents.Scriptable {
    public struct ScriptableEventWrapper<T> : IGameEvent
    {
        public GameEvent<T> Source;
        public T Payload;

        public ScriptableEventWrapper(GameEvent<T> source, T payload)
        {
            Source = source;
            Payload = payload;
        }
    }
}